package com.engineering.elink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Tag;

public interface TagMapper {
    int deleteByPrimaryKey(Integer tagId);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer tagId);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);
    
    List<Tag> getTagList(@Param("tagId")String tagId);

	Long insertBatch(List<Tag> tagList);

	List<Integer> select(@Param("tags")String tags,@Param("userId")String userId,@Param("count") int count);
}